Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilations warnings in libraries #164

Merged

Conversation

zlukwins
Copy link
Contributor

Following changes are a fixup for the #155 and #156
It turned out that cherry-picking patches is not aligned with current CI workflow where fetching very limited number of revisions (branches, tags, sha, etc.).
Thus reverting previous commits and bringing new ones based on keeping the patches locally in the repository

This reverts commit fac5664.

Signed-off-by: Zbigniew Lukwinski <[email protected]>
This reverts commit db2b7ca.

Signed-off-by: Zbigniew Lukwinski <[email protected]>
The following warning is being fixed:

warning: unused import: `CONSTRUCTED`
--> deps/spdm-rs/external/webpki/src/der.rs:17:24
   |
17 |     der::{nested, Tag, CONSTRUCTED},

That warning was already fixed with this patch:
briansmith/webpki@8f81719

Once webpki library version will be bumped up, this patch could be dropped.

Signed-off-by: Zbigniew Lukwinski <[email protected]>
The following warning is being fixed:

warning: unused imports: `PKCS1`, `PSS`
  --> ring/src/rsa/padding.rs:21:13
   |
21 |     pkcs1::{PKCS1, RSA_PKCS1_SHA256, RSA_PKCS1_SHA384, RSA_PKCS1_SHA512},
   |             ^^^^^
22 |     pss::{PSS, RSA_PSS_SHA256, RSA_PSS_SHA384, RSA_PSS_SHA512},
   |           ^^^
   |
   = note: `#[warn(unused_imports)]` on by default

That warning was already fixed with this patch:
briansmith/ring@c4742e0

Once ring library version will be bumped up, this patch could be dropped.

Signed-off-by: Zbigniew Lukwinski <[email protected]>
@zlukwins zlukwins force-pushed the fix-compilations-warnings-in-libraries branch from 1d0712c to deccdd0 Compare January 14, 2025 10:48
@jyao1 jyao1 merged commit dea48dd into ccc-spdm-tools:main Jan 21, 2025
52 checks passed
@zlukwins zlukwins deleted the fix-compilations-warnings-in-libraries branch January 21, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants